<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta data-th-replace="common/meta :: meta">
    <title>格物数据后台管理平台</title>
    <link rel="stylesheet" data-th-replace="common/Link :: link">
</head>

<body class="js-route-flag js-dataDictionary">
<div class="container-fluid">
    <div class="row">
       <div class="row">
            <div class="col-md-6 col-xs-7">
                <form class="form-inline roleForm">
                    <div class="form-group">
                        <input type="text" class="form-control" id='searchName' placeholder="输入名称">
                    </div>
                    <button type="button" class="btn btn-gew" id="search"><i class="fa fa-search"></i>检索</button>
                </form>
            </div>
           <div class="col-md-6 col-xs-4">
               <button class="btn btn-gew pull-right btn-sm addBtn" type="button"><i class="fa fa-plus"></i>添加</button>
           </div>
        </div>
        <div class="table-responsive marginTop">
            <table class="table table-hover" id="bootstrapTree"></table>
        </div>
    </div>

    <!--添加以及修改-->

    <div id="editDictionary" class="hidden-gew">
        <form class="form-horizontal addForm" id="addForm">
            <div class="box-body">
                <input type="hidden" id="id" name="id">
                <div class="form-group">
                    <label for="pname" class="col-sm-3 control-label">父级名称：</label>
                    <div class="col-sm-9">
                        <input type="text" readonly="readonly" class="form-control" name="pname" id="pname" placeholder="父级名称">
                    </div>
                </div>
                <div class="form-group">
                    <label for="name" class="col-sm-3 control-label">名称：</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" name="name" id="name" placeholder="名称">
                    </div>
                </div>
                <div class="form-group">
                    <label for="code" class="col-sm-3 control-label">编   码：</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" name="code" id="code" placeholder="编码">
                    </div>
                </div>
                <div class="form-group">
                    <label for="value" class="col-sm-3 control-label">值：</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" name="value" id="value" placeholder="编码">
                    </div>
                </div>
                <div class="form-group">
                    <label for="remark" class="col-sm-3 control-label">备   注：</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" name="remark" id="remark" placeholder="备注">

                    </div>
                </div>
                <div class="form-group">
                    <label for="sort" class="col-sm-3 control-label">排   序：</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" name="sort" id="sort" placeholder="排序">

                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-offset-3 col-sm-9">
                        <button type="submit" class="btn btn-gew  saveBtn"><i class="fa fa-save"></i>保存</button>
                        <button type="button" class="btn btn-default-gew reset"><i class="fa fa-reply"></i>重置</button>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>

<script data-main="js/main.js" src="js/lib/require.min.js" defer async="true"></script>
</body>

</html>